package com.presto.directo.net

import com.presto.directo.entity.OcrEntity
import com.presto.directo.entity.OcrResult
import okhttp3.MultipartBody
import retrofit2.http.*

interface ThirdApiService {
    @Headers("X-ADVAI-KEY:edd92745b41c36c8")
    @Multipart
    @POST("https://mex-api.advance.ai/mex/openapi/face-identity/v3/id-card-ocr")
    suspend fun getOcrAdvance(@Part file: MultipartBody.Part): OcrEntity<OcrResult>

}